WCPay\WooPay_Tracker B

Total Complexity 80
Dependencies 8
Dependents 2
Total lines 638
Lines of code 350
Logical lines of code 176
Comment lines 184
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
should_enable_tracking()
A
47 14 34
tracks_record_event()
A
50 9 28
tracks_build_event_obj()
S
48 6 30
ajax_tracks()
S
52 6 25
tracks_get_identity()
S
52 5 27
bump_stats()
S
54 5 23
checkout_order_processed()
S
57 5 15
maybe_record_wcpay_shopper_event()
S
55 3 21
woopay_locations_updated()
S
61 3 12
add_frontend_tracks_scripts()
S
55 2 21
thank_you_page_view()
S
68 3 7
is_country_tracks_eligible()
S
67 3 7
__construct()
S
55 1 18
maybe_record_admin_event()
S
68 2 7
get_wc_store_id()
S
71 2 6
maybe_record_event()
S
70 2 6
ajax_tracks_id()
S
72 2 6
blocks_checkout_start()
S
65 1 10
classic_cart_page_view()
S
69 1 8
blocks_cart_page_view()
S
69 1 8
classic_product_page_view()
S
69 1 8
pay_for_order_page_view()
S
76 1 5
must_save_payment_method_to_platform()
S
69 1 8
classic_checkout_start()
S
65 1 10